package com.kinglone.back.file.service.impl;


import com.kinglone.back.file.dao.FileMapper;
import com.kinglone.back.file.model.BasFile;
import com.kinglone.back.file.service.FileService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service("fileService")
public class FileServiceImpl implements FileService {

    @Resource
    private FileMapper fileMapper;

    @Override
    public List<BasFile> list(Map<String, Object> map) {
        return fileMapper.list(map);
    }

    @Override
    public int getTotal(Map<String, Object> map) {
        return fileMapper.getTotal(map);
    }

    @Override
    public BasFile selectById(String id) {
        return fileMapper.selectById(id);
    }

    @Override
    public List<BasFile> getFileList() {
        return fileMapper.getFileList();
    }


}
